package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-30
 */
@TableName("nb_brank")
public class Brank extends Model<Brank> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 营业部名称
     */
    @TableField("g_sales_name")
    private String gSalesName;
    /**
     * 营业部代码
     */
    @TableField("g_sales_code")
    private Integer gSalesCode;
    /**
     * 上榜1天买入次数
     */
    @TableField("g_bcount1DC")
    private Integer gBcount1dc;
    /**
     * 上榜1天平均涨幅
     */
    @TableField("g_avg_rate1DC")
    private Double gAvgRate1dc;
    /**
     * 上榜1天上涨概率
     */
    @TableField("g_up_rate1DC")
    private Double gUpRate1dc;
    /**
     * 上榜2天买入次数
     */
    @TableField("g_bcount2DC")
    private Integer gBcount2dc;
    /**
     * 上榜2天平均涨幅
     */
    @TableField("g_avg_rate2DC")
    private Double gAvgRate2dc;
    /**
     * 上榜2天上涨概率
     */
    @TableField("g_up_rate2DC")
    private Double gUpRate2dc;
    /**
     * 上榜3天买入次数
     */
    @TableField("g_bcount3DC")
    private Integer gBcount3dc;
    /**
     * 上榜3天平均涨幅
     */
    @TableField("g_avg_rate3DC")
    private Double gAvgRate3dc;
    /**
     * 上榜3天上涨概率
     */
    @TableField("g_up_rate3DC")
    private Double gUpRate3dc;
    /**
     * 上榜5天买入次数
     */
    @TableField("g_bcount5DC")
    private Integer gBcount5dc;
    /**
     * 上榜5天平均涨幅
     */
    @TableField("g_avg_rate5DC")
    private Double gAvgRate5dc;
    /**
     * 上榜5天上涨概率
     */
    @TableField("g_up_rate5DC")
    private Double gUpRate5dc;
    /**
     * 上榜15天买入次数
     */
    @TableField("g_bcount15DC")
    private Integer gBcount15dc;
    /**
     * 上榜15天平均涨幅
     */
    @TableField("g_avg_rate15DC")
    private Double gAvgRate15dc;
    /**
     * 上榜15天上涨概率
     */
    @TableField("g_up_rate15DC")
    private Double gUpRate15dc;
    /**
     * 上榜30天买入次数
     */
    @TableField("g_bcount30DC")
    private Integer gBcount30dc;
    /**
     * 上榜30天平均涨幅
     */
    @TableField("g_avg_rate30DC")
    private Double gAvgRate30dc;
    /**
     * 上榜30天上涨概率
     */
    @TableField("g_up_rate30DC")
    private Double gUpRate30dc;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgSalesName() {
        return gSalesName;
    }

    public void setgSalesName(String gSalesName) {
        this.gSalesName = gSalesName;
    }

    public Integer getgSalesCode() {
        return gSalesCode;
    }

    public void setgSalesCode(Integer gSalesCode) {
        this.gSalesCode = gSalesCode;
    }

    public Integer getgBcount1dc() {
        return gBcount1dc;
    }

    public void setgBcount1dc(Integer gBcount1dc) {
        this.gBcount1dc = gBcount1dc;
    }

    public Double getgAvgRate1dc() {
        return gAvgRate1dc;
    }

    public void setgAvgRate1dc(Double gAvgRate1dc) {
        this.gAvgRate1dc = gAvgRate1dc;
    }

    public Double getgUpRate1dc() {
        return gUpRate1dc;
    }

    public void setgUpRate1dc(Double gUpRate1dc) {
        this.gUpRate1dc = gUpRate1dc;
    }

    public Integer getgBcount2dc() {
        return gBcount2dc;
    }

    public void setgBcount2dc(Integer gBcount2dc) {
        this.gBcount2dc = gBcount2dc;
    }

    public Double getgAvgRate2dc() {
        return gAvgRate2dc;
    }

    public void setgAvgRate2dc(Double gAvgRate2dc) {
        this.gAvgRate2dc = gAvgRate2dc;
    }

    public Double getgUpRate2dc() {
        return gUpRate2dc;
    }

    public void setgUpRate2dc(Double gUpRate2dc) {
        this.gUpRate2dc = gUpRate2dc;
    }

    public Integer getgBcount3dc() {
        return gBcount3dc;
    }

    public void setgBcount3dc(Integer gBcount3dc) {
        this.gBcount3dc = gBcount3dc;
    }

    public Double getgAvgRate3dc() {
        return gAvgRate3dc;
    }

    public void setgAvgRate3dc(Double gAvgRate3dc) {
        this.gAvgRate3dc = gAvgRate3dc;
    }

    public Double getgUpRate3dc() {
        return gUpRate3dc;
    }

    public void setgUpRate3dc(Double gUpRate3dc) {
        this.gUpRate3dc = gUpRate3dc;
    }

    public Integer getgBcount5dc() {
        return gBcount5dc;
    }

    public void setgBcount5dc(Integer gBcount5dc) {
        this.gBcount5dc = gBcount5dc;
    }

    public Double getgAvgRate5dc() {
        return gAvgRate5dc;
    }

    public void setgAvgRate5dc(Double gAvgRate5dc) {
        this.gAvgRate5dc = gAvgRate5dc;
    }

    public Double getgUpRate5dc() {
        return gUpRate5dc;
    }

    public void setgUpRate5dc(Double gUpRate5dc) {
        this.gUpRate5dc = gUpRate5dc;
    }

    public Integer getgBcount15dc() {
        return gBcount15dc;
    }

    public void setgBcount15dc(Integer gBcount15dc) {
        this.gBcount15dc = gBcount15dc;
    }

    public Double getgAvgRate15dc() {
        return gAvgRate15dc;
    }

    public void setgAvgRate15dc(Double gAvgRate15dc) {
        this.gAvgRate15dc = gAvgRate15dc;
    }

    public Double getgUpRate15dc() {
        return gUpRate15dc;
    }

    public void setgUpRate15dc(Double gUpRate15dc) {
        this.gUpRate15dc = gUpRate15dc;
    }

    public Integer getgBcount30dc() {
        return gBcount30dc;
    }

    public void setgBcount30dc(Integer gBcount30dc) {
        this.gBcount30dc = gBcount30dc;
    }

    public Double getgAvgRate30dc() {
        return gAvgRate30dc;
    }

    public void setgAvgRate30dc(Double gAvgRate30dc) {
        this.gAvgRate30dc = gAvgRate30dc;
    }

    public Double getgUpRate30dc() {
        return gUpRate30dc;
    }

    public void setgUpRate30dc(Double gUpRate30dc) {
        this.gUpRate30dc = gUpRate30dc;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Brank{" +
        "id=" + id +
        ", gSalesName=" + gSalesName +
        ", gSalesCode=" + gSalesCode +
        ", gBcount1dc=" + gBcount1dc +
        ", gAvgRate1dc=" + gAvgRate1dc +
        ", gUpRate1dc=" + gUpRate1dc +
        ", gBcount2dc=" + gBcount2dc +
        ", gAvgRate2dc=" + gAvgRate2dc +
        ", gUpRate2dc=" + gUpRate2dc +
        ", gBcount3dc=" + gBcount3dc +
        ", gAvgRate3dc=" + gAvgRate3dc +
        ", gUpRate3dc=" + gUpRate3dc +
        ", gBcount5dc=" + gBcount5dc +
        ", gAvgRate5dc=" + gAvgRate5dc +
        ", gUpRate5dc=" + gUpRate5dc +
        ", gBcount15dc=" + gBcount15dc +
        ", gAvgRate15dc=" + gAvgRate15dc +
        ", gUpRate15dc=" + gUpRate15dc +
        ", gBcount30dc=" + gBcount30dc +
        ", gAvgRate30dc=" + gAvgRate30dc +
        ", gUpRate30dc=" + gUpRate30dc +
        "}";
    }
}
